function [ c I ] = testKmeans( str, k, iter)
filename = ['E:\Fun\SeniorThesis\images\gray\',str];
f = double(imread(filename));
if nargin == 2
[c I] = Kmeans(f, k);
else 
 [c I] = Kmeans(f,k,iter);
end
imshow(I,[]);
end
